package com.huang.we_chart.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (Department)表实体类
 *
 * @author HuangShen
 * @since 2020-11-29 10:11:43
 */
@SuppressWarnings("serial")
public class Department extends Model<Department> {
    //院系id
    private Integer departmentId;
    //院系名
    private String departmentName;


    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.departmentId;
    }
}